package org.finesys.message;

import org.finesys.common.websocket.annotation.EnableWebSocket;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "org.finesys")
@EnableWebSocket
/**
 * 消息服务启动类；
 * 接收mq发送过来的消息，转发给websocket客户端；
 * */
public class SpringMessageApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringMessageApplication.class, args);
    }

}
